﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using LForum.Models;
using Layans.Data;
using LlaansPage.Data;
namespace Api.Models
{
    public class LlaansContext : DbContext
    {
        // You can add custom code to this file. Changes will not be overwritten.
        // 
        // If you want Entity Framework to drop and regenerate your database
        // automatically whenever you change your model schema, please use data migrations.
        // For more information refer to the documentation:
        // http://msdn.microsoft.com/en-us/data/jj591621.aspx

        public LlaansContext() : base("name=LlaansContext")
        {
        }

        public System.Data.Entity.DbSet<Layans.Data.ChatChanelVote> ChatChanelVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupInfoVote> GroupInfoVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPicVote> GroupPicVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPostVote> GroupPostVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsInfoVote> NewsInfoVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPicVote> NewsPicVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPostVote> NewsPostVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPostCommentVote> NewsCommentVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PagePicVote> PagePicVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PagePostCommentVote> PagePostCommentVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PagePostVote> PagePostVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UserPicVote> UserPicVote { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UserPostVotes> UserPostVotess { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UserMassage> UserMassages { get; set;  }

        public System.Data.Entity.DbSet<Layans.Data.UserMassageAnswer> UserMasageAnswers { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PageMassageAnswer> PageMassageAnswerss { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupMassage> GroupMassages { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupMassageAnswer> GroupMassageAnswers { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.MassageAnswer> MassageAnswers { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsMassage> NewsMassagess { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PageMassage> PageMassages { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PicComment> PicComments { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.Pic> Pics { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UsersPostComment> UsersPostComments { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPicComment> GroupPicComment { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPic> GroupPics { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPostAnswer> NewsPostAnswers { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPost> NewsPosts { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPostVote> GroupPostVotess { get; set; }
       
        public System.Data.Entity.DbSet<Layans.Data.PostsGroup> PostsGroups { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPostAnswer> GroupPostAnswers { get; set; }
       
        public System.Data.Entity.DbSet<Layans.Data.GroupPost> GroupPosts { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPostAnswers> GroupPostAnswerеs { get; set; }
       
        public System.Data.Entity.DbSet<Layans.Data.ChatChanel> chatchanels { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UserPostVote> UserPostVotes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UsersPostComment> usersPostComments { get; set;  }
      
        public System.Data.Entity.DbSet<LForum.Models.ExternalLoginConfirmationViewModel> Author { get; set; }
       
        public System.Data.Entity.DbSet<Layans.Data.WorkAndSchool> WorkAndSchools { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PageSurprise> PageSurprises { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.User> Users { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.ForMe> ForMes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.BurtInfo> BurtInfoes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.ChatChanelAdd> ChatChanelAdds { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupInfo> GroupInfoes { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsInfo> NewsInfos { get; set; }
        
        public System.Data.Entity.DbSet<Layans.Data.NewsPic> NewsPics { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPicSmall> NewsPicSmalls { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.NewsPicVote> NewsPicVotess { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PicAvatarNews> PicAvatarNewse { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.PicCommentNews> PicCommetnNewsess { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.UsersPost> UsersPosts { get; set; }

        public System.Data.Entity.DbSet<Layans.Data.GroupPost> GroupPostses { get; set; }

        public IEnumerable<UserPostAnsewerViewModel> UserPostAnsewerViewModel { get; set; }

        
    }
}
